package com.elephant.bean.factoryBean;

import org.springframework.beans.factory.FactoryBean;

/**
 * @author 林
 * @create 2025-06-09 15:39
 */
public class MyFactoryBean implements FactoryBean<UserTestFactory> {

	@Override
	public UserTestFactory getObject() throws Exception {
		return new UserTestFactory("测试factoryBean");
	}

	@Override
	public Class<?> getObjectType() {
		return UserTestFactory.class;
	}

	@Override
	public boolean isSingleton() {
		return true;
	}
}
